package com.hq.sys.service;

import com.hq.sys.eneity.Menu;
import java.util.List;

/**
 * @BelongsPackage: com.hq.sys.service
 * @Author: jiangjunjie
 * @CreateTime: 2024-12-22  10:02
 * @Description: TODO
 * @Version: 1.8
 */
public interface MenuService {
    //查询所有菜单
    public List<Menu> queryMenuList();
    //菜单分类
    public List<Menu> queryAllMenu();
    //根据菜单名称查询菜单
    public Menu queryMenuByTitle(String title);
    //根据id查询
    public Menu queryMenuById(Integer id);
    //添加菜单
    public int addMenu(Menu menu);
    //修改菜单
    public int updateMenu(Menu menu);
    //删除菜单
    public int deleteMenu(Integer id);
    //角色权限
           List<Menu>  queryMenuByUid(Integer userid);


}
